#!/bin/bash



touch file
rm file
touch file

#for benchmark in AES BFS BlackScholes CP DG JPEG LIB LPS MUM NN NQU RAY STO WP 
for benchmark in LPS
do
for flit_size in 8 16 32
 do
  for num_vcs in 2 3 4
   do
    for vc_buf_size in 2 3 4
     do
      for routing_delay in 0 1 2
       do
        for vc_alloc_delay in 0 1
         do
          for input_speedup in 1 2
           do

            dirname="$echo "$benchmark+$flit_size+$num_vcs+$vc_buf_size+$routing_delay+$vc_alloc_delay+$input_speedup""
            cd $dirname
              ln -s /i3c/hpcl/axj936/gpgpu-sim_v2.1.1b/benchmarks/CUDA/LPS/gpgpu_ptx_sim__laplace .
#             ln -s /i3c/hpcl/axj936/gpgpu-sim_v2.1.1b/benchmarks/CUDA/JPEG/data .  
            cd ../
           done
         done
        done
       done
     done
    done
 done

